// #ifdef H5
// import "./utils/pc.js";
// #endif
import App from './App'
import Vue from 'vue'
import store from 'store/index.js'
import 'static/css/style.css'
import empty from './components/empty.vue'
import foot from './components/foot.vue'
import global from './utils/global.js'
import upload from './utils/upload.js'
import regular from './utils/regular.js'

import Page from './components/page.vue';
Vue.component('page', Page)

import  loadingText from "./components/loadingText.vue"
import  cityOptions from "./components/cityOptions.vue"
Vue.component('empty', empty) 
Vue.component('foot', foot) 
Vue.component('cityOptions', cityOptions) 
Vue.component('loadingText',loadingText)
import share from './utils/share.js'
Vue.mixin(share)
Vue.prototype.$store = store
Vue.prototype.$global = global
Vue.prototype.$upload = upload
Vue.prototype.$regular = regular

Vue.mixin({
	data() {
		return {
			getters: store.getters,
			$imgUrl: global.imgUrl
		}
	}
})

Vue.config.productionTip = false
App.mpType = 'app'
const app = new Vue({
    ...App
})
app.$mount()

// // #ifndef VUE3
// import Vue from 'vue'
// Vue.config.productionTip = false
// App.mpType = 'app'
// const app = new Vue({
//     ...App
// })
// app.$mount()
// // #endif







// // #ifdef VUE3
// import { createSSRApp } from 'vue'
// export function createApp() {
//   const app = createSSRApp(App)
//   return {
//     app
//   }
// }
// // #endif